<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;

class Project extends Model{
    protected $table = "project";
    protected $dateFormat = 'Y-m-d H:i:s';
    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
        'delete_at' => 'datetime:Y-m-d H:i:s',
    ];
    protected $guarded = array('id', 'name');
    protected $fillable = [
        'name',
        'status',
        'sort',
        'content',
        'created_at',
        'updated_at',
        'delete_at',
       ];
}
